import request from '@/utils/request'

// 查询商品详情
export function GoodsDetail(data = {}) {
    return request({
        url: '/apid/goodsInfo',
        method: "get",
        params: data
    })
}

// 创建商品订单
export function CreateGoodsOrder(data = {}) {
    return request({
        url: '/apid/aliApp',
        method: "post",
        data
    })
}

// 查询订单状态
export function GetOrderInfoByTradeNoTo(params = {}) {
    return request({
        url: '/apid/getOrderState',
        method: "get",
        params
    })
}



